package com.ypc.plugininterface.dto.xml;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;

/**
 * @author yinpengcheng
 * @Date 2023/7/24
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
public class ServiceDTO {
    @XmlAttribute(name = "name", required = true)
    private String name;
    @XmlAttribute(name = "enable")
    private Boolean enable = true;
    @XmlAttribute(name = "parent", required = true)
    private String parent;
    @XmlAttribute(name = "class", required = true)
    private String clazz;
}
